home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / Ss-Sz / Stack Starter ß.979 / Stack Starter fl.979 / card_10120.txt < prev    next >
Encoding:
Text File  |  1989-07-29  |  45.8 KB  |  2,074 lines

  1. -- card: 10120 from stack: in.979
  2. -- bmap block id: 2916
  3. -- flags: 0000
  4. -- background id: 2295
  5. -- name: pushbuttons and switches
  6.  
  7.  
  8. -- part 73 (button)
  9. -- low flags: 00
  10. -- high flags: 4000
  11. -- rect: left=27 top=99 right=114 bottom=113
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   set hilite of me to true
  23. end mouseUp
  24.  
  25.  
  26.  
  27. -- part 2 (button)
  28. -- low flags: 00
  29. -- high flags: 0000
  30. -- rect: left=35 top=123 right=135 bottom=51
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 5006 / 5006
  33. -- text alignment: 1
  34. -- font id: 0
  35. -- text size: 9
  36. -- style flags: 256
  37. -- line height: 12
  38. -- part name: 
  39. ----- HyperTalk script -----
  40. on mouseUp
  41.   if icon of me is 5006 then
  42.     set icon of me to 5007
  43.     play "Click"
  44.     --put instructions to be carried out when this switch is activated
  45.   else
  46.     set icon of me to 5006
  47.     play "Click"
  48.     --instructions to be carried out when this switch is deactivated
  49.   end if
  50.   pass mouseUp
  51. end mouseUp
  52.  
  53.  
  54.  
  55.  
  56.  
  57. -- part 3 (button)
  58. -- low flags: 00
  59. -- high flags: 0000
  60. -- rect: left=35 top=144 right=156 bottom=51
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 5010 / 5010
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 9
  66. -- style flags: 256
  67. -- line height: 12
  68. -- part name: 
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   if icon of me is 5010 then
  72.     set icon of me to 5011
  73.     play "Click"
  74.     --put instructions to be carried out when this switch is activated
  75.   else
  76.     set icon of me to 5010
  77.     play "Click"
  78.     --instructions to be carried out when this switch is deactivated
  79.   end if
  80.   pass mouseUp
  81. end mouseUp
  82.  
  83.  
  84.  
  85.  
  86.  
  87. -- part 4 (button)
  88. -- low flags: 00
  89. -- high flags: 0000
  90. -- rect: left=35 top=165 right=177 bottom=54
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 5014 / 5014
  93. -- text alignment: 1
  94. -- font id: 0
  95. -- text size: 9
  96. -- style flags: 256
  97. -- line height: 12
  98. -- part name: 
  99. ----- HyperTalk script -----
  100. on mouseUp
  101.   if icon of me is 5014 then
  102.     set icon of me to 5015
  103.     play "Click"
  104.     --put instructions to be carried out when this switch is activated
  105.   else
  106.     set icon of me to 5014
  107.     play "Click"
  108.     --instructions to be carried out when this switch is deactivated
  109.   end if
  110.   pass mouseUp
  111. end mouseUp
  112.  
  113.  
  114.  
  115. -- part 5 (button)
  116. -- low flags: 00
  117. -- high flags: 0000
  118. -- rect: left=35 top=188 right=200 bottom=59
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 5018 / 5018
  121. -- text alignment: 1
  122. -- font id: 0
  123. -- text size: 9
  124. -- style flags: 256
  125. -- line height: 12
  126. -- part name: 
  127. ----- HyperTalk script -----
  128. on mouseUp
  129.   if icon of me is 5018 then
  130.     set icon of me to 5019
  131.     play "Click"
  132.     --put instructions to be carried out when this switch is activated
  133.   else
  134.     set icon of me to 5018
  135.     play "Click"
  136.     --instructions to be carried out when this switch is deactivated
  137.   end if
  138.   pass mouseUp
  139. end mouseUp
  140.  
  141.  
  142. -- part 6 (button)
  143. -- low flags: 00
  144. -- high flags: 0000
  145. -- rect: left=35 top=211 right=234 bottom=66
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 5022 / 5022
  148. -- text alignment: 1
  149. -- font id: 0
  150. -- text size: 9
  151. -- style flags: 256
  152. -- line height: 12
  153. -- part name: 
  154. ----- HyperTalk script -----
  155. on mouseUp
  156.   if icon of me is 5022 then
  157.     set icon of me to 5023
  158.     play "Click"
  159.     --put instructions to be carried out when this switch is activated
  160.   else
  161.     set icon of me to 5022
  162.     play "Click"
  163.     --instructions to be carried out when this switch is deactivated
  164.   end if
  165.   pass mouseUp
  166. end mouseUp
  167.  
  168.  
  169. -- part 7 (button)
  170. -- low flags: 00
  171. -- high flags: 0000
  172. -- rect: left=73 top=122 right=134 bottom=91
  173. -- title width / last selected line: 0
  174. -- icon id / first selected line: 5008 / 5008
  175. -- text alignment: 1
  176. -- font id: 0
  177. -- text size: 9
  178. -- style flags: 256
  179. -- line height: 12
  180. -- part name: 
  181. ----- HyperTalk script -----
  182. on mouseUp
  183.   if icon of me is 5008 then
  184.     set icon of me to 5009
  185.     play "Click"
  186.     --put instructions to be carried out when this switch is activated
  187.   else
  188.     set icon of me to 5008
  189.     play "Click"
  190.     --instructions to be carried out when this switch is deactivated
  191.   end if
  192.   pass mouseUp
  193. end mouseUp
  194.  
  195.  
  196.  
  197. -- part 8 (button)
  198. -- low flags: 00
  199. -- high flags: 0000
  200. -- rect: left=73 top=143 right=155 bottom=91
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 5012 / 5012
  203. -- text alignment: 1
  204. -- font id: 0
  205. -- text size: 9
  206. -- style flags: 256
  207. -- line height: 12
  208. -- part name: 
  209. ----- HyperTalk script -----
  210. on mouseUp
  211.   if icon of me is 5012 then
  212.     set icon of me to 5013
  213.     play "Click"
  214.     --put instructions to be carried out when this switch is activated
  215.   else
  216.     set icon of me to 5012
  217.     play "Click"
  218.     --instructions to be carried out when this switch is deactivated
  219.   end if
  220.   pass mouseUp
  221. end mouseUp
  222.  
  223.  
  224.  
  225. -- part 9 (button)
  226. -- low flags: 00
  227. -- high flags: 0000
  228. -- rect: left=73 top=164 right=176 bottom=94
  229. -- title width / last selected line: 0
  230. -- icon id / first selected line: 5016 / 5016
  231. -- text alignment: 1
  232. -- font id: 0
  233. -- text size: 9
  234. -- style flags: 256
  235. -- line height: 12
  236. -- part name: 
  237. ----- HyperTalk script -----
  238. on mouseUp
  239.   if icon of me is 5016 then
  240.     set icon of me to 5017
  241.     play "Click"
  242.     --put instructions to be carried out when this switch is activated
  243.   else
  244.     set icon of me to 5016
  245.     play "Click"
  246.     --instructions to be carried out when this switch is deactivated
  247.   end if
  248.   pass mouseUp
  249. end mouseUp
  250.  
  251.  
  252.  
  253. -- part 10 (button)
  254. -- low flags: 00
  255. -- high flags: 0000
  256. -- rect: left=73 top=187 right=201 bottom=99
  257. -- title width / last selected line: 0
  258. -- icon id / first selected line: 5020 / 5020
  259. -- text alignment: 1
  260. -- font id: 0
  261. -- text size: 9
  262. -- style flags: 256
  263. -- line height: 12
  264. -- part name: 
  265. ----- HyperTalk script -----
  266. on mouseUp
  267.   if icon of me is 5020 then
  268.     set icon of me to 5021
  269.     play "Click"
  270.     --put instructions to be carried out when this switch is activated
  271.   else
  272.     set icon of me to 5020
  273.     play "Click"
  274.     --instructions to be carried out when this switch is deactivated
  275.   end if
  276.   pass mouseUp
  277. end mouseUp
  278.  
  279.  
  280.  
  281. -- part 11 (button)
  282. -- low flags: 00
  283. -- high flags: 4000
  284. -- rect: left=72 top=212 right=235 bottom=102
  285. -- title width / last selected line: 0
  286. -- icon id / first selected line: 5022 / 5022
  287. -- text alignment: 1
  288. -- font id: 0
  289. -- text size: 9
  290. -- style flags: 256
  291. -- line height: 12
  292. -- part name: 
  293. ----- HyperTalk script -----
  294. on mouseUp
  295.   if icon of me is 5022 then
  296.     set icon of me to 5023
  297.     play "Click"
  298.     --put instructions to be carried out when this switch is activated
  299.   else
  300.     set icon of me to 5022
  301.     play "Click"
  302.     --instructions to be carried out when this switch is deactivated
  303.   end if
  304.   pass mouseUp
  305. end mouseUp
  306.  
  307.  
  308.  
  309. -- part 12 (button)
  310. -- low flags: 00
  311. -- high flags: A004
  312. -- rect: left=30 top=246 right=296 bottom=69
  313. -- title width / last selected line: 0
  314. -- icon id / first selected line: 4188 / 4188
  315. -- text alignment: 1
  316. -- font id: 0
  317. -- text size: 12
  318. -- style flags: 0
  319. -- line height: 16
  320. -- part name: Info
  321. ----- HyperTalk script -----
  322. on mouseUp
  323.   do short name of me
  324. end mouseUp
  325.  
  326.  
  327.  
  328. -- part 13 (button)
  329. -- low flags: 00
  330. -- high flags: 8004
  331. -- rect: left=71 top=246 right=296 bottom=110
  332. -- title width / last selected line: 0
  333. -- icon id / first selected line: 4179 / 4179
  334. -- text alignment: 1
  335. -- font id: 0
  336. -- text size: 12
  337. -- style flags: 0
  338. -- line height: 16
  339. -- part name: Map
  340. ----- HyperTalk script -----
  341. on mouseUp
  342.   doMenu short name of me
  343. end mouseUp
  344.  
  345.  
  346.  
  347.  
  348. -- part 14 (button)
  349. -- low flags: 00
  350. -- high flags: 0000
  351. -- rect: left=127 top=98 right=114 bottom=147
  352. -- title width / last selected line: 0
  353. -- icon id / first selected line: 5058 / 5058
  354. -- text alignment: 1
  355. -- font id: 0
  356. -- text size: 12
  357. -- style flags: 0
  358. -- line height: 16
  359. -- part name: 
  360. ----- HyperTalk script -----
  361. on mouseUp
  362.   if icon of me is 5056 then
  363.     set icon of me to 5058
  364.     play "Click"
  365.     --put instructions to be carried out when this switch is activated
  366.   else
  367.     set icon of me to 5056
  368.     play "Click"
  369.     --put instructions to be carried out when this switch is deactivated
  370.   end if
  371. end mouseUp
  372.  
  373.  
  374.  
  375.  
  376.  
  377. -- part 15 (button)
  378. -- low flags: 00
  379. -- high flags: 0000
  380. -- rect: left=152 top=98 right=114 bottom=172
  381. -- title width / last selected line: 0
  382. -- icon id / first selected line: 5056 / 5056
  383. -- text alignment: 1
  384. -- font id: 0
  385. -- text size: 12
  386. -- style flags: 0
  387. -- line height: 16
  388. -- part name: 
  389. ----- HyperTalk script -----
  390. on mouseUp
  391.   if icon of me is 5056 then
  392.     set icon of me to 5057
  393.     play "Click"
  394.     --put instructions to be carried out when this switch is activated
  395.   else
  396.     set icon of me to 5056
  397.     play "Click"
  398.     --put instructions to be carried out when this switch is deactivated
  399.   end if
  400. end mouseUp
  401.  
  402.  
  403.  
  404.  
  405.  
  406. -- part 16 (button)
  407. -- low flags: 00
  408. -- high flags: 0000
  409. -- rect: left=178 top=97 right=114 bottom=197
  410. -- title width / last selected line: 0
  411. -- icon id / first selected line: 5054 / 5054
  412. -- text alignment: 1
  413. -- font id: 0
  414. -- text size: 12
  415. -- style flags: 0
  416. -- line height: 16
  417. -- part name: ON
  418. ----- HyperTalk script -----
  419. on mouseUp
  420.   if icon of me is 5054 then
  421.     set icon of me to 5055
  422.     play "Click"
  423.     --put instructions to be carried out when this switch is activated
  424.   else
  425.     set icon of me to 5054
  426.     play "Click"
  427.     --put instructions to be carried out when this switch is deactivated
  428.   end if
  429. end mouseUp
  430.  
  431.  
  432.  
  433.  
  434.  
  435. -- part 17 (button)
  436. -- low flags: 00
  437. -- high flags: 0000
  438. -- rect: left=129 top=120 right=141 bottom=158
  439. -- title width / last selected line: 0
  440. -- icon id / first selected line: 5028 / 5028
  441. -- text alignment: 1
  442. -- font id: 0
  443. -- text size: 12
  444. -- style flags: 0
  445. -- line height: 16
  446. -- part name: ON
  447. ----- HyperTalk script -----
  448. on mouseUp
  449.   if icon of me is 5028 then
  450.     set icon of me to 5029
  451.     play "Click"
  452.     set icon of me to 5030
  453.     play "Click"
  454.     --put instructions to be carried out when this switch is activated
  455.   else
  456.     set icon of me to 5029
  457.     play "Click"
  458.     set icon of me to 5028
  459.     play "Click"
  460.     --put instructions to be carried out when this switch is deactivated
  461.   end if
  462. end mouseUp
  463.  
  464.  
  465.  
  466.  
  467.  
  468. -- part 18 (button)
  469. -- low flags: 00
  470. -- high flags: 0000
  471. -- rect: left=129 top=146 right=163 bottom=153
  472. -- title width / last selected line: 0
  473. -- icon id / first selected line: 4007 / 4007
  474. -- text alignment: 1
  475. -- font id: 0
  476. -- text size: 12
  477. -- style flags: 0
  478. -- line height: 16
  479. -- part name: Hello Switch
  480. ----- HyperTalk script -----
  481. on mouseUp
  482.   if icon of me is 4005 then
  483.     set icon of me to 4007
  484.     play "Click"
  485.     --put instructions to be carried out when this switch is activated
  486.   else
  487.     set icon of me to 4005
  488.     play "Click"
  489.     --put instructions to be carried out when this switch is deactivated
  490.   end if
  491. end mouseUp
  492.  
  493.  
  494.  
  495. -- part 19 (button)
  496. -- low flags: 00
  497. -- high flags: 0000
  498. -- rect: left=129 top=168 right=187 bottom=156
  499. -- title width / last selected line: 0
  500. -- icon id / first selected line: 5003 / 5003
  501. -- text alignment: 1
  502. -- font id: 0
  503. -- text size: 12
  504. -- style flags: 0
  505. -- line height: 16
  506. -- part name: 
  507. ----- HyperTalk script -----
  508. on mouseUp
  509.   if icon of me is 5003 then
  510.     set icon of me to 5005
  511.     play "Switch"
  512.     set icon of me to 5004
  513.     --put instructions to be carried out when this switch is activated
  514.   else
  515.     set icon of me to 5005
  516.     play "Switch"
  517.     set icon of me to 5003
  518.     --put instructions to be carried out when this switch is deactivated
  519.   end if
  520. end mouseUp
  521.  
  522.  
  523.  
  524.  
  525. -- part 20 (button)
  526. -- low flags: 00
  527. -- high flags: 0000
  528. -- rect: left=128 top=203 right=224 bottom=155
  529. -- title width / last selected line: 0
  530. -- icon id / first selected line: 5003 / 5003
  531. -- text alignment: 1
  532. -- font id: 0
  533. -- text size: 12
  534. -- style flags: 0
  535. -- line height: 16
  536. -- part name: OFF
  537. ----- HyperTalk script -----
  538. on mouseDown
  539.   if icon of me is 5003 then
  540.     set the name of me to "ON"
  541.   else set the name of me to "OFF"
  542.   set icon of me to 5001
  543. end mouseDown
  544.  
  545. on mouseLeave              --this event allows you to change your mind
  546.   if icon of me is 5001 then        --Thanks Nich de Paul for the idea
  547.     if the short name of me is "OFF" then
  548.       set the name of me to "ON"
  549.       set icon of me to 5004
  550.       play "Switch"
  551.     else
  552.       set the name of me to "OFF"
  553.       set icon of me to 5003
  554.       play "Switch"
  555.     end if
  556.   end if
  557. end mouseLeave
  558.  
  559. on mouseUp
  560.   if the short name of me is "ON" then
  561.     set icon of me to 5004
  562.     play "Switch"
  563.     --put instructions to be carried out when this switch is activated
  564.   else
  565.     set icon of me to 5003
  566.     play "Switch"
  567.     --put instructions to be carried out when this switch is deactivated
  568.   end if
  569.   pass mouseUp
  570. end mouseUp
  571.  
  572.  
  573.  
  574.  
  575. -- part 21 (button)
  576. -- low flags: 00
  577. -- high flags: 0000
  578. -- rect: left=166 top=119 right=141 bottom=191
  579. -- title width / last selected line: 0
  580. -- icon id / first selected line: 5051 / 5051
  581. -- text alignment: 1
  582. -- font id: 0
  583. -- text size: 12
  584. -- style flags: 0
  585. -- line height: 16
  586. -- part name: 
  587. ----- HyperTalk script -----
  588. on mouseUp
  589.   if icon of me is 5051 then
  590.     set icon of me to 5052
  591.     play "click"
  592.     set icon of me to 5053
  593.     play "click" fe
  594.     --put instructions to be carried out when this switch is activated
  595.   else
  596.     set icon of me to 5052
  597.     play "click"
  598.     set icon of me to 5051
  599.     play "click" fe
  600.     --put instructions to be carried out when this switch is deactivated
  601.   end if
  602. end mouseUp
  603.  
  604.  
  605.  
  606.  
  607. -- part 22 (button)
  608. -- low flags: 00
  609. -- high flags: 0000
  610. -- rect: left=166 top=146 right=163 bottom=190
  611. -- title width / last selected line: 0
  612. -- icon id / first selected line: 4006 / 4006
  613. -- text alignment: 1
  614. -- font id: 0
  615. -- text size: 12
  616. -- style flags: 0
  617. -- line height: 16
  618. -- part name: Hello Switch
  619. ----- HyperTalk script -----
  620. on mouseUp
  621.   if icon of me is 4004 then
  622.     set icon of me to 4005
  623.     play "Click"
  624.     set icon of me to 4006
  625.     play "Click"
  626.     --put instructions to be carried out when this switch is activated
  627.   else
  628.     set icon of me to 4005
  629.     play "Click"
  630.     set icon of me to 4004
  631.     play "Click"
  632.     --put instructions to be carried out when this switch is deactivated
  633.   end if
  634. end mouseUp
  635.  
  636.  
  637.  
  638. -- part 23 (button)
  639. -- low flags: 00
  640. -- high flags: 0000
  641. -- rect: left=166 top=168 right=187 bottom=193
  642. -- title width / last selected line: 0
  643. -- icon id / first selected line: 5002 / 5002
  644. -- text alignment: 1
  645. -- font id: 0
  646. -- text size: 12
  647. -- style flags: 0
  648. -- line height: 16
  649. -- part name: ON
  650. ----- HyperTalk script -----
  651. on mouseUp
  652.   if icon of me is 5000 then
  653.     set icon of me to 5005
  654.     play "Click"
  655.     set icon of me to 5002
  656.     play "Click"
  657.     --put instructions to be carried out when this switch is activated
  658.   else
  659.     set icon of me to 5005
  660.     play "Click"
  661.     set icon of me to 5000
  662.     play "Click"
  663.     --put instructions to be carried out when this switch is deactivated
  664.   end if
  665. end mouseUp
  666.  
  667.  
  668.  
  669.  
  670.  
  671. -- part 24 (button)
  672. -- low flags: 00
  673. -- high flags: 0000
  674. -- rect: left=166 top=203 right=224 bottom=193
  675. -- title width / last selected line: 0
  676. -- icon id / first selected line: 5000 / 5000
  677. -- text alignment: 1
  678. -- font id: 0
  679. -- text size: 12
  680. -- style flags: 0
  681. -- line height: 16
  682. -- part name: OFF
  683. ----- HyperTalk script -----
  684. on mouseDown
  685.   if icon of me is 5000 then
  686.     set the name of me to "ON"
  687.   else set the name of me to "OFF"
  688.   set icon of me to 5001
  689.   play "Click"
  690. end mouseDown
  691.  
  692. on mouseLeave              --this event allows you to change your mind
  693.   if icon of me is 5001 then     --Thanks Nich de Paul for the idea
  694.     --set icon of me to 5001
  695.     if the short name of me is "OFF" then
  696.       set the name of me to "ON"
  697.       set icon of me to 5002
  698.       play "Click"
  699.     else
  700.       set the name of me to "OFF"
  701.       set icon of me to 5000
  702.       play "Click"
  703.     end if
  704.   end if
  705. end mouseLeave
  706.  
  707. on mouseUp
  708.   if the short name of me is "ON" then
  709.     set icon of me to 5002
  710.     play "Click"
  711.     --put instructions to be carried out when this switch is activated
  712.   else
  713.     set icon of me to 5000
  714.     play "Click"
  715.     --put instructions to be carried out when this switch is deactivated
  716.   end if
  717.   pass mouseUp
  718. end mouseUp
  719.  
  720.  
  721.  
  722.  
  723. -- part 25 (button)
  724. -- low flags: 00
  725. -- high flags: 0000
  726. -- rect: left=125 top=253 right=286 bottom=159
  727. -- title width / last selected line: 0
  728. -- icon id / first selected line: 5048 / 5048
  729. -- text alignment: 1
  730. -- font id: 0
  731. -- text size: 12
  732. -- style flags: 0
  733. -- line height: 16
  734. -- part name: 
  735. ----- HyperTalk script -----
  736. on mouseUp
  737.   if icon of me is 5048 then
  738.     set icon of me to 5049
  739.     play "click"
  740.     set icon of me to 5050
  741.     play "click" fe
  742.     --put instructions to be carried out when this switch is activated
  743.   else
  744.     set icon of me to 5049
  745.     play "click"
  746.     set icon of me to 5048
  747.     play "click" fe
  748.     --put instructions to be carried out when this switch is deactivated
  749.   end if
  750. end mouseUp
  751.  
  752.  
  753.  
  754.  
  755. -- part 26 (button)
  756. -- low flags: 00
  757. -- high flags: 0000
  758. -- rect: left=166 top=254 right=286 bottom=198
  759. -- title width / last selected line: 0
  760. -- icon id / first selected line: 5031 / 5031
  761. -- text alignment: 1
  762. -- font id: 0
  763. -- text size: 12
  764. -- style flags: 0
  765. -- line height: 16
  766. -- part name: 
  767. ----- HyperTalk script -----
  768. on mouseUp
  769.   if icon of me is 5031 then
  770.     set icon of me to 5032
  771.     play "Click"
  772.     --put instructions to be carried out when this switch is activated
  773.   else
  774.     set icon of me to 5031
  775.     play "Click"
  776.     --put instructions to be carried out when this switch is deactivated
  777.   end if
  778.   pass mouseUp
  779. end mouseUp
  780.  
  781.  
  782.  
  783.  
  784.  
  785. -- part 27 (button)
  786. -- low flags: 00
  787. -- high flags: 8000
  788. -- rect: left=225 top=101 right=146 bottom=283
  789. -- title width / last selected line: 0
  790. -- icon id / first selected line: 23237 / 23237
  791. -- text alignment: 0
  792. -- font id: 0
  793. -- text size: 12
  794. -- style flags: 0
  795. -- line height: 16
  796. -- part name: Toggle OFF
  797. ----- HyperTalk script -----
  798. on mouseUp
  799.   if icon of me is 17213 then
  800.     set icon of me to 23237
  801.     play "Click"
  802.     set name of me to "Toggle OFF"
  803.     --put instructions to be carried out when this switch is activated
  804.   else
  805.     set icon of me to 17213
  806.     play "Click"
  807.     set textalign of me to left
  808.     set name of me to "Toggle ON"
  809.     --put instructions to be carried out when this switch is deactivated
  810.   end if
  811.   pass mouseUp
  812. end mouseUp
  813.  
  814.  
  815.  
  816.  
  817. -- part 28 (button)
  818. -- low flags: 00
  819. -- high flags: 8000
  820. -- rect: left=220 top=101 right=146 bottom=238
  821. -- title width / last selected line: 0
  822. -- icon id / first selected line: 17213 / 17213
  823. -- text alignment: 1
  824. -- font id: 0
  825. -- text size: 12
  826. -- style flags: 0
  827. -- line height: 16
  828. -- part name: 
  829. ----- HyperTalk script -----
  830. on mouseUp
  831.   if icon of me is 17213 then
  832.     set icon of me to 23237
  833.     play "Click"
  834.     --put instructions to be carried out when this switch is activated
  835.   else
  836.     set icon of me to 17213
  837.     play "Click"
  838.     --put instructions to be carried out when this switch is deactivated
  839.   end if
  840.   pass mouseUp
  841. end mouseUp
  842.  
  843.  
  844.  
  845.  
  846. -- part 29 (button)
  847. -- low flags: 00
  848. -- high flags: 8000
  849. -- rect: left=269 top=101 right=146 bottom=287
  850. -- title width / last selected line: 0
  851. -- icon id / first selected line: 17213 / 17213
  852. -- text alignment: 1
  853. -- font id: 0
  854. -- text size: 12
  855. -- style flags: 0
  856. -- line height: 16
  857. -- part name: 
  858. ----- HyperTalk script -----
  859. on mouseUp
  860.   if icon of me is 17213 then
  861.     set icon of me to 23237
  862.     play "Click"
  863.     --put instructions to be carried out when this switch is activated
  864.   else
  865.     set icon of me to 17213
  866.     play "Click"
  867.     --put instructions to be carried out when this switch is deactivated
  868.   end if
  869.   pass mouseUp
  870. end mouseUp
  871.  
  872.  
  873.  
  874.  
  875. -- part 30 (button)
  876. -- low flags: 00
  877. -- high flags: 0000
  878. -- rect: left=259 top=145 right=178 bottom=291
  879. -- title width / last selected line: 0
  880. -- icon id / first selected line: 6872 / 6872
  881. -- text alignment: 1
  882. -- font id: 0
  883. -- text size: 12
  884. -- style flags: 0
  885. -- line height: 16
  886. -- part name: 
  887. ----- HyperTalk script -----
  888. on mouseUp
  889.   if icon of me is 16693 then
  890.     set icon of me to 6872
  891.     play "Click"
  892.     --put instructions to be carried out when this switch is activated
  893.   else
  894.     set icon of me to 16693
  895.     play "Click"
  896.     --put instructions to be carried out when this switch is deactivated
  897.   end if
  898.   pass mouseUp
  899. end mouseUp
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907. -- part 31 (button)
  908. -- low flags: 00
  909. -- high flags: 0000
  910. -- rect: left=220 top=195 right=212 bottom=239
  911. -- title width / last selected line: 0
  912. -- icon id / first selected line: 5036 / 5036
  913. -- text alignment: 1
  914. -- font id: 0
  915. -- text size: 12
  916. -- style flags: 0
  917. -- line height: 16
  918. -- part name: ON
  919. ----- HyperTalk script -----
  920. on mouseUp
  921.   if icon of me is 5036 then
  922.     set icon of me to 5037
  923.     play "Click"
  924.     --put instructions to be carried out when this switch is activated
  925.   else
  926.     set icon of me to 5036
  927.     play "Click"
  928.     --put instructions to be carried out when this switch is deactivated
  929.   end if
  930. end mouseUp
  931.  
  932.  
  933.  
  934.  
  935.  
  936. -- part 32 (button)
  937. -- low flags: 00
  938. -- high flags: 0000
  939. -- rect: left=245 top=195 right=212 bottom=264
  940. -- title width / last selected line: 0
  941. -- icon id / first selected line: 5038 / 5038
  942. -- text alignment: 1
  943. -- font id: 0
  944. -- text size: 12
  945. -- style flags: 0
  946. -- line height: 16
  947. -- part name: 
  948. ----- HyperTalk script -----
  949. on mouseUp
  950.   if icon of me is 5038 then
  951.     set icon of me to 5039
  952.     play "Click"
  953.     --put instructions to be carried out when this switch is activated
  954.   else
  955.     set icon of me to 5038
  956.     play "Click"
  957.     --put instructions to be carried out when this switch is deactivated
  958.   end if
  959. end mouseUp
  960.  
  961.  
  962.  
  963.  
  964.  
  965. -- part 33 (button)
  966. -- low flags: 00
  967. -- high flags: 0000
  968. -- rect: left=269 top=195 right=212 bottom=288
  969. -- title width / last selected line: 0
  970. -- icon id / first selected line: 5040 / 5040
  971. -- text alignment: 1
  972. -- font id: 0
  973. -- text size: 12
  974. -- style flags: 0
  975. -- line height: 16
  976. -- part name: 
  977. ----- HyperTalk script -----
  978. on mouseUp
  979.   if icon of me is 5040 then
  980.     set icon of me to 5041
  981.     play "Click"
  982.     --put instructions to be carried out when this switch is activated
  983.   else
  984.     set icon of me to 5040
  985.     play "Click"
  986.     --put instructions to be carried out when this switch is deactivated
  987.   end if
  988. end mouseUp
  989.  
  990.  
  991.  
  992.  
  993.  
  994. -- part 34 (button)
  995. -- low flags: 00
  996. -- high flags: 0000
  997. -- rect: left=220 top=221 right=233 bottom=233
  998. -- title width / last selected line: 0
  999. -- icon id / first selected line: 5042 / 5042
  1000. -- text alignment: 1
  1001. -- font id: 0
  1002. -- text size: 12
  1003. -- style flags: 0
  1004. -- line height: 16
  1005. -- part name: 
  1006. ----- HyperTalk script -----
  1007. on mouseUp
  1008.   if icon of me is 5042 then
  1009.     set icon of me to 5043
  1010.     play "Click"
  1011.     --put instructions to be carried out when this switch is activated
  1012.   else
  1013.     set icon of me to 5042
  1014.     play "Click"
  1015.     --put instructions to be carried out when this switch is deactivated
  1016.   end if
  1017. end mouseUp
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023. -- part 35 (button)
  1024. -- low flags: 00
  1025. -- high flags: 0000
  1026. -- rect: left=234 top=221 right=233 bottom=247
  1027. -- title width / last selected line: 0
  1028. -- icon id / first selected line: 5042 / 5042
  1029. -- text alignment: 1
  1030. -- font id: 0
  1031. -- text size: 12
  1032. -- style flags: 0
  1033. -- line height: 16
  1034. -- part name: 
  1035. ----- HyperTalk script -----
  1036. on mouseUp
  1037.   if icon of me is 5042 then
  1038.     set icon of me to 5043
  1039.     play "Click"
  1040.     --put instructions to be carried out when this switch is activated
  1041.   else
  1042.     set icon of me to 5042
  1043.     play "Click"
  1044.     --put instructions to be carried out when this switch is deactivated
  1045.   end if
  1046. end mouseUp
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052. -- part 36 (button)
  1053. -- low flags: 00
  1054. -- high flags: 0000
  1055. -- rect: left=250 top=219 right=233 bottom=266
  1056. -- title width / last selected line: 0
  1057. -- icon id / first selected line: 5046 / 5046
  1058. -- text alignment: 1
  1059. -- font id: 0
  1060. -- text size: 12
  1061. -- style flags: 0
  1062. -- line height: 16
  1063. -- part name: 
  1064. ----- HyperTalk script -----
  1065. on mouseUp
  1066.   if icon of me is 5046 then
  1067.     set icon of me to 5047
  1068.     play "Click"
  1069.     --put instructions to be carried out when this switch is activated
  1070.   else
  1071.     set icon of me to 5046
  1072.     play "Click"
  1073.     --put instructions to be carried out when this switch is deactivated
  1074.   end if
  1075. end mouseUp
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081. -- part 37 (button)
  1082. -- low flags: 00
  1083. -- high flags: 0000
  1084. -- rect: left=269 top=219 right=234 bottom=288
  1085. -- title width / last selected line: 0
  1086. -- icon id / first selected line: 5044 / 5044
  1087. -- text alignment: 1
  1088. -- font id: 0
  1089. -- text size: 12
  1090. -- style flags: 0
  1091. -- line height: 16
  1092. -- part name: 
  1093. ----- HyperTalk script -----
  1094. on mouseUp
  1095.   if icon of me is 5044 then
  1096.     set icon of me to 5045
  1097.     play "Click"
  1098.     --put instructions to be carried out when this switch is activated
  1099.   else
  1100.     set icon of me to 5044
  1101.     play "Click"
  1102.     --put instructions to be carried out when this switch is deactivated
  1103.   end if
  1104. end mouseUp
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110. -- part 38 (button)
  1111. -- low flags: 00
  1112. -- high flags: 0000
  1113. -- rect: left=217 top=245 right=277 bottom=250
  1114. -- title width / last selected line: 0
  1115. -- icon id / first selected line: 14471 / 14471
  1116. -- text alignment: 1
  1117. -- font id: 0
  1118. -- text size: 12
  1119. -- style flags: 0
  1120. -- line height: 16
  1121. -- part name: 
  1122. ----- HyperTalk script -----
  1123. on mouseUp
  1124.   if icon of me is 14471 then
  1125.     set icon of me to 21219
  1126.     set icon of me to 26997
  1127.     --put instructions to be carried out when this switch is activated
  1128.   else
  1129.     set icon of me to 21219
  1130.     set icon of me to 14471
  1131.     --put instructions to be carried out when this switch is deactivated
  1132.   end if
  1133. end mouseUp
  1134.  
  1135.  
  1136.  
  1137.  
  1138. -- part 39 (button)
  1139. -- low flags: 00
  1140. -- high flags: 0000
  1141. -- rect: left=259 top=243 right=278 bottom=293
  1142. -- title width / last selected line: 0
  1143. -- icon id / first selected line: 8670 / 8670
  1144. -- text alignment: 1
  1145. -- font id: 0
  1146. -- text size: 12
  1147. -- style flags: 0
  1148. -- line height: 16
  1149. -- part name: 
  1150. ----- HyperTalk script -----
  1151. on mouseUp
  1152.   if icon of me is 8670 then
  1153.     set icon of me to 26625
  1154.     set icon of me to 961
  1155.     --put instructions to be carried out when this switch is activated
  1156.   else
  1157.     set icon of me to 26625
  1158.     set icon of me to 8670
  1159.     --put instructions to be carried out when this switch is deactivated
  1160.   end if
  1161. end mouseUp
  1162.  
  1163.  
  1164.  
  1165.  
  1166. -- part 40 (button)
  1167. -- low flags: 00
  1168. -- high flags: 8000
  1169. -- rect: left=217 top=275 right=298 bottom=297
  1170. -- title width / last selected line: 0
  1171. -- icon id / first selected line: 0 / 0
  1172. -- text alignment: 1
  1173. -- font id: 204
  1174. -- text size: 12
  1175. -- style flags: 0
  1176. -- line height: 16
  1177. -- part name: Î Í Ï
  1178. ----- HyperTalk script -----
  1179. on mouseUp
  1180.   put (item 1 of the clickloc) - (item 1 of the rect of me) into A
  1181.   put (item 3 of the rect of me) - (item 1 of the rect of me) into B
  1182.   put B/3 into C
  1183.   put A/C into D
  1184.   get trunc of D
  1185.  
  1186.   if it is 0 then
  1187.     visual scroll left very fast to gray
  1188.     visual scroll left very fast
  1189.     go to card id 8114
  1190.   end if
  1191.   if it is 1 then doMenu "Home"
  1192.   if it is 2 then
  1193.     visual scroll right very fast to gray
  1194.     visual scroll right very fast
  1195.     go to next card
  1196.   end if
  1197. end mouseUp
  1198.  
  1199.  
  1200.  
  1201. -- part 41 (button)
  1202. -- low flags: 00
  1203. -- high flags: 8000
  1204. -- rect: left=311 top=192 right=236 bottom=342
  1205. -- title width / last selected line: 0
  1206. -- icon id / first selected line: 23519 / 23519
  1207. -- text alignment: 1
  1208. -- font id: 204
  1209. -- text size: 12
  1210. -- style flags: 0
  1211. -- line height: 16
  1212. -- part name:  Radio
  1213. ----- HyperTalk script -----
  1214. on mouseUp
  1215.   global DeActivate
  1216.   lock
  1217.   if icon of me is 23519 then
  1218.     if DeActivate <> empty then set icon of DeActivate to 23519
  1219.     set icon of me to 3705
  1220.     put the name of me into DeActivate
  1221.     --put instructions to be carried out when this switch is activated
  1222.   else
  1223.     set icon of me to 23519
  1224.     --put instructions to be carried out when this switch is deactivated
  1225.   end if
  1226.   unlock
  1227.   play "Click"
  1228. end mouseUp
  1229.  
  1230.  
  1231. -- part 42 (button)
  1232. -- low flags: 00
  1233. -- high flags: 0000
  1234. -- rect: left=311 top=160 right=194 bottom=342
  1235. -- title width / last selected line: 0
  1236. -- icon id / first selected line: 23519 / 23519
  1237. -- text alignment: 1
  1238. -- font id: 204
  1239. -- text size: 12
  1240. -- style flags: 0
  1241. -- line height: 16
  1242. -- part name: 
  1243. ----- HyperTalk script -----
  1244. on mouseUp
  1245.   global DeActivate
  1246.   lock
  1247.   if icon of me is 23519 then
  1248.     if DeActivate <> empty then set icon of DeActivate to 23519
  1249.     set icon of me to 3705
  1250.     put the name of me into DeActivate
  1251.     --put instructions to be carried out when this switch is activated
  1252.   else
  1253.     set icon of me to 23519
  1254.     --put instructions to be carried out when this switch is deactivated
  1255.   end if
  1256.   unlock
  1257.   play "Click"
  1258. end mouseUp
  1259.  
  1260.  
  1261. -- part 43 (button)
  1262. -- low flags: 00
  1263. -- high flags: 0000
  1264. -- rect: left=311 top=129 right=163 bottom=342
  1265. -- title width / last selected line: 0
  1266. -- icon id / first selected line: 23519 / 23519
  1267. -- text alignment: 1
  1268. -- font id: 204
  1269. -- text size: 12
  1270. -- style flags: 0
  1271. -- line height: 16
  1272. -- part name: 
  1273. ----- HyperTalk script -----
  1274. on mouseUp
  1275.   global DeActivate
  1276.   lock
  1277.   if icon of me is 23519 then
  1278.     if DeActivate <> empty then set icon of DeActivate to 23519
  1279.     set icon of me to 3705
  1280.     put the name of me into DeActivate
  1281.     --put instructions to be carried out when this switch is activated
  1282.   else
  1283.     set icon of me to 23519
  1284.     --put instructions to be carried out when this switch is deactivated
  1285.   end if
  1286.   unlock
  1287.   play "Click"
  1288. end mouseUp
  1289.  
  1290.  
  1291. -- part 44 (button)
  1292. -- low flags: 00
  1293. -- high flags: 0000
  1294. -- rect: left=311 top=97 right=131 bottom=342
  1295. -- title width / last selected line: 0
  1296. -- icon id / first selected line: 23519 / 23519
  1297. -- text alignment: 1
  1298. -- font id: 204
  1299. -- text size: 12
  1300. -- style flags: 0
  1301. -- line height: 16
  1302. -- part name: 
  1303. ----- HyperTalk script -----
  1304. on mouseUp
  1305.   global DeActivate
  1306.   lock
  1307.   if icon of me is 23519 then
  1308.     if DeActivate <> empty then set icon of DeActivate to 23519
  1309.     set icon of me to 3705
  1310.     put the name of me into DeActivate
  1311.     --put instructions to be carried out when this switch is activated
  1312.   else
  1313.     set icon of me to 23519
  1314.     --put instructions to be carried out when this switch is deactivated
  1315.   end if
  1316.   unlock
  1317.   play "Click"
  1318. end mouseUp
  1319.  
  1320.  
  1321. -- part 45 (button)
  1322. -- low flags: 00
  1323. -- high flags: 0000
  1324. -- rect: left=349 top=217 right=235 bottom=368
  1325. -- title width / last selected line: 0
  1326. -- icon id / first selected line: 5024 / 5024
  1327. -- text alignment: 1
  1328. -- font id: 204
  1329. -- text size: 12
  1330. -- style flags: 0
  1331. -- line height: 16
  1332. -- part name: 
  1333. ----- HyperTalk script -----
  1334. on mouseUp
  1335.   if icon of me is 5024 then
  1336.     set icon of me to 5025
  1337.     play "Click"
  1338.     -- put instructions to be carried out when this switch is activated
  1339.   else
  1340.     set icon of me to 5024
  1341.     play "Click"
  1342.     --put instructions to be carried out when this switch is deactivated
  1343.   end if
  1344. end mouseUp
  1345.  
  1346.  
  1347.  
  1348.  
  1349. -- part 46 (button)
  1350. -- low flags: 00
  1351. -- high flags: 0000
  1352. -- rect: left=366 top=217 right=235 bottom=385
  1353. -- title width / last selected line: 0
  1354. -- icon id / first selected line: 5024 / 5024
  1355. -- text alignment: 1
  1356. -- font id: 204
  1357. -- text size: 12
  1358. -- style flags: 0
  1359. -- line height: 16
  1360. -- part name: 
  1361. ----- HyperTalk script -----
  1362. on mouseUp
  1363.   if icon of me is 5024 then
  1364.     set icon of me to 5025
  1365.     play "Click"
  1366.     set icon of me to 5026
  1367.     play "Click"
  1368.     -- put instructions to be carried out when this switch is activated
  1369.   else
  1370.     set icon of me to 5025
  1371.     play "Click"
  1372.     set icon of me to 5024
  1373.     play "Click"
  1374.     --put instructions to be carried out when this switch is deactivated
  1375.   end if
  1376. end mouseUp
  1377.  
  1378.  
  1379.  
  1380.  
  1381. -- part 47 (button)
  1382. -- low flags: 00
  1383. -- high flags: 8000
  1384. -- rect: left=349 top=96 right=146 bottom=381
  1385. -- title width / last selected line: 0
  1386. -- icon id / first selected line: 23519 / 23519
  1387. -- text alignment: 1
  1388. -- font id: 204
  1389. -- text size: 12
  1390. -- style flags: 0
  1391. -- line height: 16
  1392. -- part name:  Mom.
  1393. ----- HyperTalk script -----
  1394. on mouseUp
  1395.   set icon of me to 3705
  1396.   play "Click"
  1397.   set icon of me to 23519
  1398.   play "Click"
  1399.   --put instructions to be carried out when this switch is activated
  1400. end mouseUp
  1401.  
  1402.  
  1403.  
  1404. -- part 48 (button)
  1405. -- low flags: 00
  1406. -- high flags: 8000
  1407. -- rect: left=349 top=142 right=191 bottom=382
  1408. -- title width / last selected line: 0
  1409. -- icon id / first selected line: 23519 / 23519
  1410. -- text alignment: 1
  1411. -- font id: 204
  1412. -- text size: 12
  1413. -- style flags: 0
  1414. -- line height: 16
  1415. -- part name:  SPST
  1416. ----- HyperTalk script -----
  1417. on mouseUp
  1418.   if icon of me is 23519 then
  1419.     set icon of me to 3705
  1420.     play "Click"
  1421.     --put instructions to be carried out when this switch is activated
  1422.   else
  1423.     set icon of me to 23519
  1424.     play "Click"
  1425.     --put instructions to be carried out when this switch is deactivated
  1426.   end if
  1427. end mouseUp
  1428.  
  1429.  
  1430.  
  1431.  
  1432. -- part 49 (button)
  1433. -- low flags: 00
  1434. -- high flags: 0000
  1435. -- rect: left=349 top=187 right=212 bottom=376
  1436. -- title width / last selected line: 0
  1437. -- icon id / first selected line: 5033 / 5033
  1438. -- text alignment: 1
  1439. -- font id: 204
  1440. -- text size: 12
  1441. -- style flags: 0
  1442. -- line height: 16
  1443. -- part name: ON
  1444. ----- HyperTalk script -----
  1445. on mouseUp
  1446.   if icon of me is 5033 then
  1447.     set icon of me to 5034
  1448.     play "Click"
  1449.     set icon of me to 5035
  1450.     play "Click"
  1451.     --put instructions to be carried out when this switch is activated
  1452.   else
  1453.     set icon of me to 5034
  1454.     play "Click"
  1455.     set icon of me to 5033
  1456.     play "Click"
  1457.     --put instructions to be carried out when this switch is deactivated
  1458.   end if
  1459. end mouseUp
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465. -- part 50 (button)
  1466. -- low flags: 00
  1467. -- high flags: 0000
  1468. -- rect: left=311 top=253 right=285 bottom=343
  1469. -- title width / last selected line: 0
  1470. -- icon id / first selected line: 24571 / 24571
  1471. -- text alignment: 1
  1472. -- font id: 204
  1473. -- text size: 12
  1474. -- style flags: 0
  1475. -- line height: 16
  1476. -- part name: 
  1477. ----- HyperTalk script -----
  1478. on mouseUp
  1479.   if icon of me is 24571 then
  1480.     set icon of me to 22038
  1481.     play "Click"
  1482.     --put instructions to be carried out when this switch is activated
  1483.   else
  1484.     set icon of me to 24571
  1485.     play "Click"
  1486.     --put instructions to be carried out when this switch is deactivated
  1487.   end if
  1488.   pass mouseUp
  1489. end mouseUp
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495. -- part 51 (button)
  1496. -- low flags: 00
  1497. -- high flags: 0000
  1498. -- rect: left=351 top=253 right=285 bottom=383
  1499. -- title width / last selected line: 0
  1500. -- icon id / first selected line: 5513 / 5513
  1501. -- text alignment: 1
  1502. -- font id: 204
  1503. -- text size: 12
  1504. -- style flags: 0
  1505. -- line height: 16
  1506. -- part name: 
  1507. ----- HyperTalk script -----
  1508. on mouseUp
  1509.   if icon of me is 5513 then
  1510.     set icon of me to 28412
  1511.     play "Click"
  1512.     --put instructions to be carried out when this switch is activated
  1513.   else
  1514.     set icon of me to 5513
  1515.     play "Click"
  1516.     --put instructions to be carried out when this switch is deactivated
  1517.   end if
  1518.   pass mouseUp
  1519. end mouseUp
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525. -- part 52 (button)
  1526. -- low flags: 00
  1527. -- high flags: 8000
  1528. -- rect: left=399 top=107 right=155 bottom=419
  1529. -- title width / last selected line: 0
  1530. -- icon id / first selected line: 12145 / 12145
  1531. -- text alignment: 1
  1532. -- font id: 204
  1533. -- text size: 12
  1534. -- style flags: 0
  1535. -- line height: 16
  1536. -- part name: ON
  1537. ----- HyperTalk script -----
  1538. on mouseUp
  1539.   if icon of me is 24657 then
  1540.     set icon of me to 12145
  1541.     play "Click"
  1542.     set the name of me to "ON"
  1543.     --put instructions to be carried out when this switch is activated
  1544.   else
  1545.     set icon of me to 24657
  1546.     play "Click"
  1547.     set the name of me to "OFF"
  1548.     --put instructions to be carried out when this switch is deactivated
  1549.   end if
  1550.   pass mouseUp
  1551. end mouseUp
  1552.  
  1553.  
  1554.  
  1555. -- part 53 (button)
  1556. -- low flags: 00
  1557. -- high flags: 8000
  1558. -- rect: left=418 top=107 right=155 bottom=438
  1559. -- title width / last selected line: 0
  1560. -- icon id / first selected line: 24657 / 24657
  1561. -- text alignment: 1
  1562. -- font id: 204
  1563. -- text size: 12
  1564. -- style flags: 0
  1565. -- line height: 16
  1566. -- part name: OFF
  1567. ----- HyperTalk script -----
  1568. on mouseUp
  1569.   if icon of me is 24657 then
  1570.     set icon of me to 12145
  1571.     play "Click"
  1572.     set the name of me to "ON"
  1573.     --put instructions to be carried out when this switch is activated
  1574.   else
  1575.     set icon of me to 24657
  1576.     play "Click"
  1577.     set the name of me to "OFF"
  1578.     --put instructions to be carried out when this switch is deactivated
  1579.   end if
  1580.   pass mouseUp
  1581. end mouseUp
  1582.  
  1583.  
  1584.  
  1585. -- part 54 (button)
  1586. -- low flags: 00
  1587. -- high flags: 8000
  1588. -- rect: left=437 top=107 right=155 bottom=458
  1589. -- title width / last selected line: 0
  1590. -- icon id / first selected line: 12145 / 12145
  1591. -- text alignment: 1
  1592. -- font id: 204
  1593. -- text size: 12
  1594. -- style flags: 0
  1595. -- line height: 16
  1596. -- part name: 1
  1597. ----- HyperTalk script -----
  1598. on mouseUp
  1599.   if icon of me is 24657 then
  1600.     set icon of me to 12145
  1601.     play "Click"
  1602.     set the name of me to "1"
  1603.     --put instructions to be carried out when this switch is activated
  1604.   else
  1605.     set icon of me to 24657
  1606.     play "Click"
  1607.     set the name of me to "0"
  1608.     --put instructions to be carried out when this switch is deactivated
  1609.   end if
  1610.   pass mouseUp
  1611. end mouseUp
  1612.  
  1613.  
  1614.  
  1615. -- part 55 (button)
  1616. -- low flags: 00
  1617. -- high flags: 0000
  1618. -- rect: left=457 top=109 right=142 bottom=478
  1619. -- title width / last selected line: 0
  1620. -- icon id / first selected line: 12145 / 12145
  1621. -- text alignment: 1
  1622. -- font id: 204
  1623. -- text size: 12
  1624. -- style flags: 0
  1625. -- line height: 16
  1626. -- part name: 
  1627. ----- HyperTalk script -----
  1628. on mouseUp
  1629.   if icon of me is 24657 then
  1630.     set icon of me to 12145
  1631.     play "Click"
  1632.     --put instructions to be carried out when this switch is activated
  1633.   else
  1634.     set icon of me to 24657
  1635.     play "Click"
  1636.     --put instructions to be carried out when this switch is deactivated
  1637.   end if
  1638.   pass mouseUp
  1639. end mouseUp
  1640.  
  1641.  
  1642.  
  1643. -- part 57 (button)
  1644. -- low flags: 00
  1645. -- high flags: 8000
  1646. -- rect: left=398 top=157 right=197 bottom=430
  1647. -- title width / last selected line: 0
  1648. -- icon id / first selected line: 7817 / 7817
  1649. -- text alignment: 1
  1650. -- font id: 204
  1651. -- text size: 12
  1652. -- style flags: 0
  1653. -- line height: 16
  1654. -- part name:  ON
  1655. ----- HyperTalk script -----
  1656. on mouseUp
  1657.   if icon of me is 28705 then
  1658.     set icon of me to 7817
  1659.     play "Click"
  1660.     set the name of me to " ON"
  1661.     --put instructions to be carried out when this switch is activated
  1662.   else
  1663.     set icon of me to 28705
  1664.     play "Click"
  1665.     set the name of me to " OFF"
  1666.     --put instructions to be carried out when this switch is deactivated
  1667.   end if
  1668.   pass mouseUp
  1669. end mouseUp
  1670.  
  1671.  
  1672.  
  1673. -- part 58 (button)
  1674. -- low flags: 00
  1675. -- high flags: 0000
  1676. -- rect: left=398 top=152 right=170 bottom=430
  1677. -- title width / last selected line: 0
  1678. -- icon id / first selected line: 14408 / 14408
  1679. -- text alignment: 1
  1680. -- font id: 204
  1681. -- text size: 12
  1682. -- style flags: 0
  1683. -- line height: 16
  1684. -- part name: 
  1685. ----- HyperTalk script -----
  1686. on mouseUp
  1687.   if icon of me is 1659 then
  1688.     set icon of me to 14408
  1689.     play "Click"
  1690.     --put instructions to be carried out when this switch is activated
  1691.   else
  1692.     set icon of me to 1659
  1693.     play "Click"
  1694.     --put instructions to be carried out when this switch is deactivated
  1695.   end if
  1696.   pass mouseUp
  1697. end mouseUp
  1698.  
  1699.  
  1700. -- part 59 (button)
  1701. -- low flags: 00
  1702. -- high flags: 0000
  1703. -- rect: left=398 top=201 right=218 bottom=432
  1704. -- title width / last selected line: 0
  1705. -- icon id / first selected line: 4217 / 4217
  1706. -- text alignment: 1
  1707. -- font id: 204
  1708. -- text size: 12
  1709. -- style flags: 0
  1710. -- line height: 16
  1711. -- part name: 
  1712. ----- HyperTalk script -----
  1713. on mouseUp
  1714.   if (the clickloc) < (loc of me) then
  1715.     set icon of me to 4217
  1716.     play "Click"
  1717.     --put instructions to be carried out when this switch is activated
  1718.   else
  1719.     set icon of me to 4218
  1720.     play "Click"
  1721.     --put instructions to be carried out when this switch is deactivated
  1722.   end if
  1723. end mouseUp
  1724.  
  1725.  
  1726. -- part 60 (button)
  1727. -- low flags: 00
  1728. -- high flags: 0000
  1729. -- rect: left=398 top=217 right=234 bottom=432
  1730. -- title width / last selected line: 0
  1731. -- icon id / first selected line: 4219 / 4219
  1732. -- text alignment: 1
  1733. -- font id: 204
  1734. -- text size: 12
  1735. -- style flags: 0
  1736. -- line height: 16
  1737. -- part name: 
  1738. ----- HyperTalk script -----
  1739. on mouseUp
  1740.   if (the clickloc) < (loc of me) then
  1741.     set icon of me to 4220
  1742.     play "Click"
  1743.     --put instructions to be carried out when this switch is activated
  1744.   else
  1745.     set icon of me to 4219
  1746.     play "Click"
  1747.     --put instructions to be carried out when this switch is deactivated
  1748.   end if
  1749. end mouseUp
  1750.  
  1751.  
  1752.  
  1753.  
  1754. -- part 61 (button)
  1755. -- low flags: 00
  1756. -- high flags: 8000
  1757. -- rect: left=441 top=156 right=196 bottom=473
  1758. -- title width / last selected line: 0
  1759. -- icon id / first selected line: 28705 / 28705
  1760. -- text alignment: 1
  1761. -- font id: 204
  1762. -- text size: 12
  1763. -- style flags: 0
  1764. -- line height: 16
  1765. -- part name:  B - A
  1766. ----- HyperTalk script -----
  1767. on mouseUp
  1768.   if icon of me is 28705 then
  1769.     set icon of me to 7817
  1770.     play "Click"
  1771.     set the name of me to " A - B"
  1772.     --put instructions to be carried out when this switch is activated
  1773.   else
  1774.     set icon of me to 28705
  1775.     play "Click"
  1776.     set the name of me to " B - A"
  1777.     --put instructions to be carried out when this switch is deactivated
  1778.   end if
  1779.   pass mouseUp
  1780. end mouseUp
  1781.  
  1782.  
  1783.  
  1784. -- part 62 (button)
  1785. -- low flags: 00
  1786. -- high flags: 0000
  1787. -- rect: left=441 top=151 right=169 bottom=473
  1788. -- title width / last selected line: 0
  1789. -- icon id / first selected line: 14408 / 14408
  1790. -- text alignment: 1
  1791. -- font id: 204
  1792. -- text size: 12
  1793. -- style flags: 0
  1794. -- line height: 16
  1795. -- part name: 
  1796. ----- HyperTalk script -----
  1797. on mouseUp
  1798.   if icon of me is 1659 then
  1799.     set icon of me to 14408
  1800.     play "Click"
  1801.     --put instructions to be carried out when this switch is activated
  1802.   else
  1803.     set icon of me to 1659
  1804.     play "Click"
  1805.     --put instructions to be carried out when this switch is deactivated
  1806.   end if
  1807.   pass mouseUp
  1808. end mouseUp
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814. -- part 63 (button)
  1815. -- low flags: 00
  1816. -- high flags: 0000
  1817. -- rect: left=443 top=213 right=234 bottom=476
  1818. -- title width / last selected line: 0
  1819. -- icon id / first selected line: 4215 / 4215
  1820. -- text alignment: 1
  1821. -- font id: 204
  1822. -- text size: 12
  1823. -- style flags: 0
  1824. -- line height: 16
  1825. -- part name: 
  1826. ----- HyperTalk script -----
  1827. on mouseUp
  1828.   if (the clickloc) < (loc of me) then
  1829.     set icon of me to 4216
  1830.     play "Click"
  1831.     --put instructions to be carried out when this switch is activated
  1832.   else
  1833.     set icon of me to 4215
  1834.     play "Click"
  1835.     --put instructions to be carried out when this switch is deactivated
  1836.   end if
  1837. end mouseUp
  1838.  
  1839.  
  1840.  
  1841.  
  1842. -- part 64 (button)
  1843. -- low flags: 00
  1844. -- high flags: 0000
  1845. -- rect: left=443 top=194 right=215 bottom=476
  1846. -- title width / last selected line: 0
  1847. -- icon id / first selected line: 4216 / 4216
  1848. -- text alignment: 1
  1849. -- font id: 204
  1850. -- text size: 12
  1851. -- style flags: 0
  1852. -- line height: 16
  1853. -- part name: 
  1854. ----- HyperTalk script -----
  1855. on mouseUp
  1856.   if (the clickloc) < (loc of me) then
  1857.     set icon of me to 4216
  1858.     play "Click"
  1859.     --put instructions to be carried out when this switch is activated
  1860.   else
  1861.     set icon of me to 4215
  1862.     play "Click"
  1863.     --put instructions to be carried out when this switch is deactivated
  1864.   end if
  1865. end mouseUp
  1866.  
  1867.  
  1868. -- part 65 (button)
  1869. -- low flags: 00
  1870. -- high flags: 0000
  1871. -- rect: left=401 top=252 right=285 bottom=435
  1872. -- title width / last selected line: 0
  1873. -- icon id / first selected line: 4228 / 4228
  1874. -- text alignment: 1
  1875. -- font id: 204
  1876. -- text size: 12
  1877. -- style flags: 0
  1878. -- line height: 16
  1879. -- part name: 
  1880. ----- HyperTalk script -----
  1881. on mouseUp
  1882.   if icon of me is 4228 then
  1883.     set icon of me to 4225
  1884.     play "click"
  1885.     set icon of me to 4229
  1886.     play "click" fe
  1887.     --put instructions to be carried out when this switch is activated
  1888.   else
  1889.     set icon of me to 4225
  1890.     play "click"
  1891.     set icon of me to 4228
  1892.     play "click" fe
  1893.     --put instructions to be carried out when this switch is deactivated
  1894.   end if
  1895. end mouseUp
  1896.  
  1897.  
  1898.  
  1899.  
  1900. -- part 66 (button)
  1901. -- low flags: 00
  1902. -- high flags: 0000
  1903. -- rect: left=442 top=252 right=285 bottom=475
  1904. -- title width / last selected line: 0
  1905. -- icon id / first selected line: 4227 / 4227
  1906. -- text alignment: 1
  1907. -- font id: 204
  1908. -- text size: 12
  1909. -- style flags: 0
  1910. -- line height: 16
  1911. -- part name: 
  1912. ----- HyperTalk script -----
  1913. on mouseUp
  1914.   if icon of me is 4226 then
  1915.     set icon of me to 4225
  1916.     play "click"
  1917.     set icon of me to 4227
  1918.     play "click" fe
  1919.     --put instructions to be carried out when this switch is activated
  1920.   else
  1921.     set icon of me to 4225
  1922.     play "click"
  1923.     set icon of me to 4226
  1924.     play "click" fe
  1925.     --put instructions to be carried out when this switch is deactivated
  1926.   end if
  1927. end mouseUp
  1928.  
  1929.  
  1930.  
  1931.  
  1932. -- part 68 (button)
  1933. -- low flags: 00
  1934. -- high flags: E004
  1935. -- rect: left=93 top=311 right=327 bottom=152
  1936. -- title width / last selected line: 0
  1937. -- icon id / first selected line: 0 / 0
  1938. -- text alignment: 1
  1939. -- font id: 204
  1940. -- text size: 12
  1941. -- style flags: 0
  1942. -- line height: 16
  1943. -- part name: Buttons
  1944. ----- HyperTalk script -----
  1945. on mouseUp
  1946.   set hilite of me to true
  1947.   doMenu short name of me
  1948. end mouseUp
  1949.  
  1950.  
  1951.  
  1952. -- part 69 (button)
  1953. -- low flags: 00
  1954. -- high flags: 8000
  1955. -- rect: left=214 top=145 right=192 bottom=260
  1956. -- title width / last selected line: 0
  1957. -- icon id / first selected line: 16693 / 16693
  1958. -- text alignment: 1
  1959. -- font id: 204
  1960. -- text size: 12
  1961. -- style flags: 0
  1962. -- line height: 16
  1963. -- part name: OFF
  1964. ----- HyperTalk script -----
  1965. on mouseEnter
  1966.   global locat1
  1967.   put loc of btn id 69 into locat1
  1968.   put "0,0" into locat2
  1969.   put random(512) into item 1 of locat2
  1970.   put random(342) into item 2 of locat2
  1971.   put the mouseLoc into Locat3
  1972.   show btn id 69 at locat2
  1973.   wait until item 1 of the mouseLoc <> (item 1 of locat3)
  1974.   show btn id 69 at locat1
  1975. end mouseEnter
  1976.  
  1977. on mouseUp
  1978.   if icon of me is 16693 then
  1979.     set icon of me to 6872
  1980.     play "Click"
  1981.     set name of me to "ON"
  1982.     --put instructions to be carried out when this switch is activated
  1983.   else
  1984.     set icon of me to 16693
  1985.     play "Click"
  1986.     set name of me to "OFF"
  1987.     --put instructions to be carried out when this switch is deactivated
  1988.   end if
  1989.   pass mouseUp
  1990. end mouseUp
  1991.  
  1992.  
  1993. -- part 72 (field)
  1994. -- low flags: 01
  1995. -- high flags: 0000
  1996. -- rect: left=26 top=98 right=115 bottom=119
  1997. -- title width / last selected line: 0
  1998. -- icon id / first selected line: 0 / 0
  1999. -- text alignment: 0
  2000. -- font id: 0
  2001. -- text size: 12
  2002. -- style flags: 10496
  2003. -- line height: 16
  2004. -- part name: 
  2005. ----- HyperTalk script -----
  2006. on mouseUp
  2007.   if card field id 72 is "POWER ON" then
  2008.     put "POWER OFF" into card field id 72
  2009.     play "click"
  2010.     --instructions to be carried out when this switch is deactivated
  2011.   else
  2012.     put "POWER ON" into card field id 72
  2013.     play "click"
  2014.     --put instructions to be carried out when this switch is activated
  2015.   end if
  2016. end mouseUp
  2017.  
  2018.  
  2019. -- part contents for background part 56
  2020. ----- text -----
  2021. pushbuttons and switches
  2022.  
  2023. -- part contents for background part 78
  2024. ----- text -----
  2025. Prev Card: the button breeder
  2026.  
  2027. -- part contents for background part 79
  2028. ----- text -----
  2029. Next Card: multi-icon buttons
  2030.  
  2031. -- part contents for background part 112
  2032. ----- text -----
  2033. (Script Generator
  2034. (Script Tutor
  2035. (Smart Scripter
  2036. Script of Bkgnd...
  2037. Script of Button...
  2038. Script of Card...
  2039. Script of Field...
  2040. Script of Home Stack
  2041. Script of Stack...
  2042. Sliders
  2043. SoundEdit‚Ñ¢
  2044. Sounds - snd Resources
  2045. Speech Synthesis
  2046. Stack Space Available
  2047. Switches
  2048.  
  2049. -- part contents for card part 72
  2050. ----- text -----
  2051. POWER OFF
  2052.  
  2053. -- part contents for background part 68
  2054. ----- text -----
  2055. 146,70
  2056.  
  2057. -- part contents for background part 67
  2058. ----- text -----
  2059. Mouse Location:
  2060.  
  2061. -- part contents for background part 82
  2062. ----- text -----
  2063. Free Space:
  2064.  
  2065. -- part contents for background part 83
  2066. ----- text -----
  2067. 73.03 K
  2068.  
  2069. -- part contents for background part 95
  2070. ----- text -----
  2071. Blind Typing
  2072. Button Breeder
  2073. Button Font Changer
  2074. Buttons, Change Font, Create, Direction, Misc..., Multi-Icon, Push, Radio, Sliders, Switches, Toggle